package com.ll.spring5.beanTest;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * 2020/9/8 - 11:24
 * 测试使用,不需要看
 */
@Component
public class Student {
    private String lastName;
    private String firstName;
    private Integer age;
    private Integer classNumber;

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getClassNumber() {
        return classNumber;
    }

    public void setClassNumber(Integer classNumber) {
        this.classNumber = classNumber;
    }

/*    @Bean
    public void test() {
        System.out.println("学生类测试(使用@Bean注解标注的方法)");
    }*/
}
